home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 676 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.3 KB

  1. From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2. Date: Wed, 1 Dec 93 10:56:30 +0100
  3. Message-Id: <9312010956.AA02570@issan.informatik.uni-dortmund.de>
  4. To: mint@atari.archive.umich.edu
  5. In-Reply-To: <9311300957.AA00437@issan.informatik.uni-dortmund.de> (message from Andreas Schwab on Tue, 30 Nov 93 10:57:40 +0100)
  6. Subject: Re: two bugs fixed in ramfs 1.4
  7.  
  8. Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
  9.  
  10. |> Everyone should apply this patch as soon as possible :-/
  11.  
  12. [broken patch deleted]
  13.  
  14. Sorry, this was *wrong*, it replaced a bug with another :-|
  15. This should be correct: (btw., quite interesting, on the proc fs the
  16. end of the file is the same as the beginning...)
  17.  
  18. diff -ur orig/procfs.c ./procfs.c
  19. --- orig/procfs.c    Tue Aug 17 21:23:26 1993
  20. +++ ./procfs.c    Tue Nov 30 18:14:36 1993
  21. @@ -690,13 +690,11 @@
  22.  {
  23.      switch(whence) {
  24.      case 0:
  25. +    case 2:
  26.          f->pos = where;
  27.          break;
  28.      case 1:
  29.          f->pos += where;
  30. -        break;
  31. -    case 2:
  32. -        f->pos = -where;
  33.          break;
  34.      default:
  35.          return EINVFN;
  36. diff -ur orig/shmfs.c ./shmfs.c
  37. --- orig/shmfs.c    Fri Jun 25 22:23:36 1993
  38. +++ ./shmfs.c    Tue Nov 30 18:14:30 1993
  39. @@ -656,7 +656,7 @@
  40.          newpos = f->pos + where;
  41.          break;
  42.      case 2:
  43. -        newpos = maxpos - where;
  44. +        newpos = maxpos + where;
  45.          break;
  46.      default:
  47.          return EINVFN;
  48.